package org.chen.utils;

import java.sql.Timestamp;

public class TypeUtils {

	public static String getGenerateTypes(String dbType) {
		if (dbType.contains("int")) {
			return "Integer";
		}
		if (dbType.contains("varchar")) {
			return "String";
		}
		if (dbType.contains("char")) {
			return "String";
		}
		if (dbType.contains("datetime")) {
			return "Date";
		}
		if (dbType.contains("timestamp")) {
			return "Timestamp";
		}

		return null;
	}

}
